<?php
namespace app\index\model;

use think\Model;
use think\DB;

class GoodsImg extends Model
{
    public function getGoodsImg($pid){
        $res = DB::name('goods_img')->where('pid',$pid)->select();
        return $res;
    }
}